home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
fastpix
/
frmmain.frm
< prev
next >
Wrap
Text File
|
1999-09-14
|
3KB
|
96 lines
VERSION 5.00
Object = "{6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.3#0"; "COMCTL32.OCX"
Begin VB.Form frmMain
Caption = "FastPix"
ClientHeight = 4245
ClientLeft = 60
ClientTop = 345
ClientWidth = 6000
LinkTopic = "Form1"
ScaleHeight = 4245
ScaleWidth = 6000
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton Command2
Caption = "AddNoise 8bpp"
Height = 255
Left = 120
TabIndex = 4
Top = 3480
Width = 5775
End
Begin ComctlLib.ProgressBar PB1
Height = 135
Left = 120
TabIndex = 3
Top = 4050
Visible = 0 'False
Width = 5655
_ExtentX = 9975
_ExtentY = 238
_Version = 327682
Appearance = 1
End
Begin ComctlLib.StatusBar StatusBar1
Align = 2 'Align Bottom
Height = 285
Left = 0
TabIndex = 2
Top = 3960
Width = 6000
_ExtentX = 10583
_ExtentY = 503
Style = 1
SimpleText = ""
_Version = 327682
BeginProperty Panels {0713E89E-850A-101B-AFC0-4210102A8DA7}
NumPanels = 1
BeginProperty Panel1 {0713E89F-850A-101B-AFC0-4210102A8DA7}
Object.Tag = ""
EndProperty
EndProperty
End
Begin VB.CommandButton Command1
Caption = "DoBlur 8bpp"
Height = 255
Left = 120
TabIndex = 1
Top = 3120
Width = 5775
End
Begin VB.PictureBox Picture1
AutoRedraw = -1 'True
AutoSize = -1 'True
BorderStyle = 0 'None
Height = 3000
Left = 0
Picture = "frmMain.frx":0000
ScaleHeight = 3000
ScaleWidth = 6000
TabIndex = 0
Top = 0
Width = 6000
End
End
Attribute VB_Name = "frmMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim myPix As New FastPixels
Private Sub Command1_Click()
PB1.Visible = True
myPix.DoBlur8 Picture1, PB1
PB1.Visible = False
End Sub
Private Sub Command2_Click()
PB1.Visible = True
myPix.AddNoise8 3000, Picture1, PB1
PB1.Visible = False
End Sub
Private Sub Form_Load()
PB1.value = 0
End Sub